/// id : 111
/// categoryName : "党的建设"
/// categoryStatues : 0
/// mineId : 25
/// createTime : null
/// updateTime : null

class BeanVideoCategory {
  int id;
  String categoryName;
  int categoryStatues;
  int mineId;
  bool isSelect = false;
  String createTime;
  String updateTime;

  static BeanVideoCategory fromMap(Map<String, dynamic> map) {
    if (map == null) return null;
    BeanVideoCategory beanVideoCategoryBean = BeanVideoCategory();
    beanVideoCategoryBean.id = map['id'];
    beanVideoCategoryBean.categoryName = map['categoryName'];
    beanVideoCategoryBean.categoryStatues = map['categoryStatues'];
    beanVideoCategoryBean.mineId = map['mineId'];
    beanVideoCategoryBean.createTime = map['createTime'];
    beanVideoCategoryBean.updateTime = map['updateTime'];
    return beanVideoCategoryBean;
  }

  Map toJson() => {
        "id": id,
        "categoryName": categoryName,
        "categoryStatues": categoryStatues,
        "mineId": mineId,
        "createTime": createTime,
        "updateTime": updateTime,
      };
}
